<?php


namespace Demo\FactoryFunc;


class StdOutLogger implements Logger
{
    public function log(string $logger)
    {
        echo $logger.PHP_EOL;
    }
}